<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="../../../js/angular1.0.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body ng-app="myApp">
		<div ng-controller="firstCntl">
			{{name}}
		</div>
		<script type="text/javascript">
			var myApp = angular.module('myApp',[]);
			
			myApp.run(function($rootScope){
				$rootScope.name = new Date();
			});
			
			var firstCntl = function($scope){
				alert(1)
			}
		</script>
	</body>
</html>
